package cn.iocoder.yudao.module.promotion.rebate.pojo.dto;

import cn.iocoder.yudao.framework.business.basic.pojo.dto.SaveDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 数据传输对象
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/04/12
 */
@Data
public class RebateUserSaveDTO extends SaveDTO {

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "交易单号")
    private String tradeNo;

    @Schema(description = "父级用户编号")
    private Long fatherUserId;

    @Schema(description = "祖级用户编号")
    private Long grandpaUserId;

    @Schema(description = "关系路径，如“1,2,5”，结合FIND_IN_SET用于查找所有下级")
    private String relationPath;

    @Schema(description = "邀请人数")
    private Integer inviteCount;

    @Schema(description = "累计业绩金额，单位为分")
    private Integer achievementPrice;

    @Schema(description = "累计分佣金额，单位为分")
    private Integer bonusMoney;

}